<template>
	<view :style="{'height':topNavBarFixHeight+'px'}"></view>
</template>

<script>
	export default {
		name:"topNavBarFix",
		data() {
			return {
				topNavBarFixHeight:0
			};
		},
		created(){
			console.log(uni.getSystemInfoSync())
			this.topNavBarFixHeight = uni.getSystemInfoSync().statusBarHeight
		}
	}
</script>

<style lang="less">

</style>
